<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ChildNotices extends Model
{
    protected $fillable = ['child_id', 'notice_id'];
    /**
     * @var bool
     */
    public $timestamps = false;

    public function child(){
        return $this->belongsTo(Child::class);
    }

    public function notice(){
        return $this->belongsTo(Notice::class);
    }
}
